package com.tridion.utilities.verifier.model;

public class StatusMessage {
    
    public enum MessageType {
        WARN,
        ERROR,
        INFO;
    }
    
    private final MessageType type;
    
    private final String message;
    
    private final Object relatedObject;
    
    public StatusMessage(final MessageType type, final String message, final Object relatedObject) {
        this.type = type;
        this.message = message;
        this.relatedObject = relatedObject;
    }

    public MessageType getType() {
        return type;
    }

    public String getMessage() {
        return message;
    }

    public Object getRelatedObject() {
        return relatedObject;
    }
}